package cn.exrick.manager.mapper;

import cn.exrick.manager.pojo.TbNav;
import cn.exrick.manager.pojo.TbNavExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbNavMapper {
    long countByExample(TbNavExample example);

    int deleteByExample(TbNavExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbNav record);

    int insertSelective(TbNav record);

    List<TbNav> selectByExample(TbNavExample example);

    TbNav selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbNav record, @Param("example") TbNavExample example);

    int updateByExample(@Param("record") TbNav record, @Param("example") TbNavExample example);

    int updateByPrimaryKeySelective(TbNav record);

    int updateByPrimaryKey(TbNav record);

    int deleteNav(@Param("ids") List<Long> ids);

    List<TbNav> selectNavByCondition(@Param("isParent") String isParent,@Param("type") String type,@Param("search") String search, @Param("orderCol") String orderCol, @Param("orderDir") String orderDir);
}